/**
 * Yolema.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */
package org.grayrabbit.pay.facade.common;

/**
 * 订单信息项
 * 
 * @author wy
 * @version $Id: FormParams.java, v 0.1 2012-6-6 下午1:35:02 wy Exp $
 */
public class FormParams {

    //提交表单的参数 交易
    public static final String SEND_TRADE_MERID           = "MerId";
    public static final String SEND_TRADE_ORDID           = "OrdId";
    public static final String SEND_TRADE_TRANSAMT        = "TransAmt";
    public static final String SEND_TRADE_CURYID          = "CuryId";
    public static final String SEND_TRADE_TRANSDATE       = "TransDate";
    public static final String SEND_TRADE_TRANSTYPE       = "TransType";
    public static final String SEND_TRADE_VERSION         = "Version";
    public static final String SEND_TRADE_BGRETURL        = "BgRetUrl";
    public static final String SEND_TRADE_PAGERETURL      = "PageRetUrl";
    public static final String SEND_TRADE_GATEID          = "GateId";
    public static final String SEND_TRADE_PRIV1           = "Priv1";
    public static final String SEND_TRADE_CHKVALUE        = "ChkValue";
    
    //提交表单  退款
    public static final String SEND_REFUND_MERID           = "MerID";
    public static final String SEND_REFUND_ORDID           = "OrderId";
    public static final String SEND_REFUND_TRANSAMT        = "RefundAmount";
    public static final String SEND_REFUND_CURYID          = "CuryId";
    public static final String SEND_REFUND_TRANSDATE       = "TransDate";
    public static final String SEND_REFUND_TRANSTYPE       = "TransType";
    public static final String SEND_REFUND_VERSION         = "Version";
    public static final String SEND_REFUND_PRIV1           = "Priv1";
    public static final String SEND_REFUND_CHKVALUE        = "ChkValue";
    
    
    
    /**退款请求 商户退款金额*/
    public static final String SEND_REFUNDAMOUNT = "RefundAmount";
    /** 退款接收结果URL    */
    public static final String SEND_REFUND_RETURNURL = "ReturnURL";

    //接收表单的参数
    public static final String RECEIVE_MERID        = "merid";
    public static final String RECEIVE_ORDERNO      = "orderno";
    public static final String RECEIVE_TRANSTYPE    = "transtype";
    public static final String RECEIVE_AMOUNT       = "amount";
    public static final String RECEIVE_CURRENCYCODE = "currencycode";
    
    /**status 表示交易转态，只有"1001"的时候才为交易成功*/
    public static final String RECEIVE_STATUS       = "status";
    public static final String RECEIVE_CHECKVALUE   = "checkvalue";
    public static final String RECEIVE_GATEID       = "GateId";
    public static final String RECEIVE_PRIV1        = "Priv1";

}
